package gdut.jmxywz.been;

import java.util.HashSet;
import java.util.Set;

/**
 * BaseFunction entity. @author MyEclipse Persistence Tools
 */

public class BaseFunction implements java.io.Serializable {

	// Fields

	private Integer FunctionId;
	private BaseFunction baseFunction;
	private String functionName;
	private String functionUrl;
	private String functionDescripe;
	private String displayOrder;
	private Set roleFunctions = new HashSet(0);
	private Set baseFunctions = new HashSet(0);

	// Constructors

	/** default constructor */
	public BaseFunction() {
	}

	/** minimal constructor */
	public BaseFunction(String functionName, String functionUrl) {
		this.functionName = functionName;
		this.functionUrl = functionUrl;
	}

	/** full constructor */
	public BaseFunction(BaseFunction baseFunction, String functionName,
			String functionUrl, String functionDescripe, String displayOrder,
			Set roleFunctions, Set baseFunctions) {
		this.baseFunction = baseFunction;
		this.functionName = functionName;
		this.functionUrl = functionUrl;
		this.functionDescripe = functionDescripe;
		this.displayOrder = displayOrder;
		this.roleFunctions = roleFunctions;
		this.baseFunctions = baseFunctions;
	}

	// Property accessors

	public Integer getFunctionId() {
		return this.FunctionId;
	}

	public void setFunctionId(Integer FunctionId) {
		this.FunctionId = FunctionId;
	}

	public BaseFunction getBaseFunction() {
		return this.baseFunction;
	}

	public void setBaseFunction(BaseFunction baseFunction) {
		this.baseFunction = baseFunction;
	}

	public String getFunctionName() {
		return this.functionName;
	}

	public void setFunctionName(String functionName) {
		this.functionName = functionName;
	}

	public String getFunctionUrl() {
		return this.functionUrl;
	}

	public void setFunctionUrl(String functionUrl) {
		this.functionUrl = functionUrl;
	}

	public String getFunctionDescripe() {
		return this.functionDescripe;
	}

	public void setFunctionDescripe(String functionDescripe) {
		this.functionDescripe = functionDescripe;
	}

	public String getDisplayOrder() {
		return this.displayOrder;
	}

	public void setDisplayOrder(String displayOrder) {
		this.displayOrder = displayOrder;
	}

	public Set getRoleFunctions() {
		return this.roleFunctions;
	}

	public void setRoleFunctions(Set roleFunctions) {
		this.roleFunctions = roleFunctions;
	}

	public Set getBaseFunctions() {
		return this.baseFunctions;
	}

	public void setBaseFunctions(Set baseFunctions) {
		this.baseFunctions = baseFunctions;
	}

}